package com.keke.domain;

public class uInfo {
	private String iId;
	private String phone;
	private String gxqm;
	private String name;
	private int sex;
	private String bir; 
	private int age; 
	private String constellation; 
	private String job; 
	private String area; 
	private String mail; 
	private String info;
	
	
	
	
	
	public uInfo() {
	}
	public uInfo(String iId, String phone, String gxqm, String name, String sex, String bir, String age,
			String constellation, String job, String area, String mail, String info) {
		this.iId = iId;
		this.phone = phone;
		this.gxqm = gxqm;
		this.name = name;
		this.sex = Integer.parseInt(sex);
		this.bir = bir;
		this.age = Integer.parseInt(age);
		this.constellation = constellation;
		this.job = job;
		this.area = area;
		this.mail = mail;
		this.info = info;
	}
	public String getiId() {
		return iId;
	}
	public void setiId(String iId) {
		this.iId = iId.equals("null")? "":iId;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone.equals("null")? "":phone;
	}
	public String getGxqm() {
		return gxqm;
	}
	public void setGxqm(String gxqm) {
		this.gxqm = gxqm.equals("null")? "":gxqm;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name.equals("null")? "":name;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex.equals("null")? -1:Integer.parseInt(sex);
	}
	public String getBir() {
		return bir;
	}
	public void setBir(String bir) {
		this.bir = bir.equals("null")? "":bir;
	}
	public int getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age.equals("null")? 0:Integer.parseInt(age);
	}
	public String getConstellation() {
		return constellation;
	}
	public void setConstellation(String constellation) {
		this.constellation = constellation.equals("null")? "":constellation;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job.equals("null")? "":job;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area.equals("null")? "":area;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail.equals("null")? "":mail;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		
		this.info = info.equals("null")? "":info;
	}
	@Override
	public String toString() {
		return "uInfo [iId=" + iId + ", phone=" + phone + ", gxqm=" + gxqm + ", name=" + name + ", sex=" + sex
				+ ", bir=" + bir + ", age=" + age + ", constellation=" + constellation + ", job=" + job + ", area="
				+ area + ", mail=" + mail + ", info=" + info + "]";
	}

}
